package com.noahsloan.nutils.xml.serial;

/**
 * 
 * @author noah
 * @see Serializer
 */
public class ClassSerializer extends AbstractSerializer<Class<?>> {

	@SuppressWarnings("unchecked")
	public ClassSerializer() {
		super((Class)Class.class);
	}

	/**
	 * @return clazz.getName()
	 */
	public String serialize(Class<?> clazz) {
		return clazz.getName();
	}

}
